package org.co.mapper;

import org.apache.ibatis.annotations.Param;
import org.co.model.Student;

import java.util.List;

public interface StudentMapper {

    // 1. 查询所有学生
    List<Student> selectAllStudent();

    List<Student> selectStudentByAge(@Param("age") Integer age);

    List<Student> selectStudentById(@Param("id") Integer id);

    List<Student> selectStudentByName(@Param("name") String name);

    // 删除模拟测试,模拟冲突
  


}
